package com.guigu.youxuan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.youxuan.common.utils.PageUtils;
import com.guigu.youxuan.pojo.BackRole;
import com.guigu.youxuan.pojo.BackUser;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liweixin
 * @since 2024-05-15
 */
public interface IBackRoleService extends IService<BackRole> {


    List<BackRole> getBackRoleList(Long userId);

    List<BackRole> queryBackRoleList();

    PageUtils<BackRole> getBackRolePage(BackRole backRole, int currentPage, int pageSize);

    void switchStatus(BackRole backRole);

    void addRole(BackRole backRole);
}
